/**
 * <copyright>
 * </copyright>
 *

 */
package ms.unicorn.language.languagedef.util;

import ms.unicorn.language.languagedef.*;

import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.EPackage;

import org.eclipse.emf.ecore.util.Switch;

/**
 * <!-- begin-user-doc -->
 * The <b>Switch</b> for the model's inheritance hierarchy.
 * It supports the call {@link #doSwitch(EObject) doSwitch(object)}
 * to invoke the <code>caseXXX</code> method for each class of the model,
 * starting with the actual class of the object
 * and proceeding up the inheritance hierarchy
 * until a non-null result is returned,
 * which is the result of the switch.
 * <!-- end-user-doc -->
 * @see ms.unicorn.language.languagedef.LanguagedefPackage
 * @generated
 */
public class LanguagedefSwitch<T> extends Switch<T>
{
  /**
   * The cached model package
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  protected static LanguagedefPackage modelPackage;

  /**
   * Creates an instance of the switch.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public LanguagedefSwitch()
  {
    if (modelPackage == null)
    {
      modelPackage = LanguagedefPackage.eINSTANCE;
    }
  }

  /**
   * Checks whether this is a switch for the given package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @parameter ePackage the package in question.
   * @return whether this is a switch for the given package.
   * @generated
   */
  @Override
  protected boolean isSwitchFor(EPackage ePackage)
  {
    return ePackage == modelPackage;
  }

  /**
   * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @return the first non-null result returned by a <code>caseXXX</code> call.
   * @generated
   */
  @Override
  protected T doSwitch(int classifierID, EObject theEObject)
  {
    switch (classifierID)
    {
      case LanguagedefPackage.MODULE:
      {
        Module module = (Module)theEObject;
        T result = caseModule(module);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.LIBRARY:
      {
        Library library = (Library)theEObject;
        T result = caseLibrary(library);
        if (result == null) result = caseModule(library);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.MODULE_ITEM:
      {
        ModuleItem moduleItem = (ModuleItem)theEObject;
        T result = caseModuleItem(moduleItem);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.NAMESPACE:
      {
        Namespace namespace = (Namespace)theEObject;
        T result = caseNamespace(namespace);
        if (result == null) result = caseModuleItem(namespace);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.LANGUAGE_DEF:
      {
        LanguageDef languageDef = (LanguageDef)theEObject;
        T result = caseLanguageDef(languageDef);
        if (result == null) result = caseModule(languageDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.PARENT_LANGUAGES:
      {
        ParentLanguages parentLanguages = (ParentLanguages)theEObject;
        T result = caseParentLanguages(parentLanguages);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.IMPORT_STATEMENT:
      {
        ImportStatement importStatement = (ImportStatement)theEObject;
        T result = caseImportStatement(importStatement);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.TOOL_BOX:
      {
        ToolBox toolBox = (ToolBox)theEObject;
        T result = caseToolBox(toolBox);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.TOOL_ITEM:
      {
        ToolItem toolItem = (ToolItem)theEObject;
        T result = caseToolItem(toolItem);
        if (result == null) result = caseModuleItem(toolItem);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.TOOL_VIEW:
      {
        ToolView toolView = (ToolView)theEObject;
        T result = caseToolView(toolView);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.TAG_DEF:
      {
        TagDef tagDef = (TagDef)theEObject;
        T result = caseTagDef(tagDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.TAG_ENTRY_DEF:
      {
        TagEntryDef tagEntryDef = (TagEntryDef)theEObject;
        T result = caseTagEntryDef(tagEntryDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.ELEMENT_DEF:
      {
        ElementDef elementDef = (ElementDef)theEObject;
        T result = caseElementDef(elementDef);
        if (result == null) result = caseModuleItem(elementDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.ENTITY_DEF:
      {
        EntityDef entityDef = (EntityDef)theEObject;
        T result = caseEntityDef(entityDef);
        if (result == null) result = caseElementDef(entityDef);
        if (result == null) result = caseModuleItem(entityDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.RELATION_DEF:
      {
        RelationDef relationDef = (RelationDef)theEObject;
        T result = caseRelationDef(relationDef);
        if (result == null) result = caseElementDef(relationDef);
        if (result == null) result = caseModuleItem(relationDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.POLICIES:
      {
        Policies policies = (Policies)theEObject;
        T result = casePolicies(policies);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.VIEW_DEF:
      {
        ViewDef viewDef = (ViewDef)theEObject;
        T result = caseViewDef(viewDef);
        if (result == null) result = caseModuleItem(viewDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.NODE_VIEW_DEF:
      {
        NodeViewDef nodeViewDef = (NodeViewDef)theEObject;
        T result = caseNodeViewDef(nodeViewDef);
        if (result == null) result = caseViewDef(nodeViewDef);
        if (result == null) result = caseModuleItem(nodeViewDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.LABEL_VIEW_DEF:
      {
        LabelViewDef labelViewDef = (LabelViewDef)theEObject;
        T result = caseLabelViewDef(labelViewDef);
        if (result == null) result = caseViewDef(labelViewDef);
        if (result == null) result = caseModuleItem(labelViewDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.LABEL_SOURCE_FIELD:
      {
        LabelSourceField labelSourceField = (LabelSourceField)theEObject;
        T result = caseLabelSourceField(labelSourceField);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.COMPARTMENT_VIEW_DEF:
      {
        CompartmentViewDef compartmentViewDef = (CompartmentViewDef)theEObject;
        T result = caseCompartmentViewDef(compartmentViewDef);
        if (result == null) result = caseViewDef(compartmentViewDef);
        if (result == null) result = caseModuleItem(compartmentViewDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.RELATION_VIEW_DEF:
      {
        RelationViewDef relationViewDef = (RelationViewDef)theEObject;
        T result = caseRelationViewDef(relationViewDef);
        if (result == null) result = caseViewDef(relationViewDef);
        if (result == null) result = caseModuleItem(relationViewDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.RELATION_CONSTRAINT:
      {
        RelationConstraint relationConstraint = (RelationConstraint)theEObject;
        T result = caseRelationConstraint(relationConstraint);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.CONNECTION_STYLE_DEF:
      {
        ConnectionStyleDef connectionStyleDef = (ConnectionStyleDef)theEObject;
        T result = caseConnectionStyleDef(connectionStyleDef);
        if (result == null) result = caseModuleItem(connectionStyleDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.CONNECTION_DECORATOR:
      {
        ConnectionDecorator connectionDecorator = (ConnectionDecorator)theEObject;
        T result = caseConnectionDecorator(connectionDecorator);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.DECORATOR_DEF:
      {
        DecoratorDef decoratorDef = (DecoratorDef)theEObject;
        T result = caseDecoratorDef(decoratorDef);
        if (result == null) result = caseModuleItem(decoratorDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.DECORATOR_LOCATOR_DEF:
      {
        DecoratorLocatorDef decoratorLocatorDef = (DecoratorLocatorDef)theEObject;
        T result = caseDecoratorLocatorDef(decoratorLocatorDef);
        if (result == null) result = caseModuleItem(decoratorLocatorDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.POLICY_DEF:
      {
        PolicyDef policyDef = (PolicyDef)theEObject;
        T result = casePolicyDef(policyDef);
        if (result == null) result = caseModuleItem(policyDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.SUB_VIEW_DEF:
      {
        SubViewDef subViewDef = (SubViewDef)theEObject;
        T result = caseSubViewDef(subViewDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.FIGURE_DEF:
      {
        FigureDef figureDef = (FigureDef)theEObject;
        T result = caseFigureDef(figureDef);
        if (result == null) result = caseModuleItem(figureDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.SUB_FIGURE:
      {
        SubFigure subFigure = (SubFigure)theEObject;
        T result = caseSubFigure(subFigure);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.PARAMETER:
      {
        Parameter parameter = (Parameter)theEObject;
        T result = caseParameter(parameter);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.COLOR_DEF:
      {
        ColorDef colorDef = (ColorDef)theEObject;
        T result = caseColorDef(colorDef);
        if (result == null) result = caseModuleItem(colorDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.VALIDATOR_DEF:
      {
        ValidatorDef validatorDef = (ValidatorDef)theEObject;
        T result = caseValidatorDef(validatorDef);
        if (result == null) result = caseModuleItem(validatorDef);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.ANCHOR:
      {
        Anchor anchor = (Anchor)theEObject;
        T result = caseAnchor(anchor);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.XRECTANGLE:
      {
        XRectangle xRectangle = (XRectangle)theEObject;
        T result = caseXRectangle(xRectangle);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.XREFERENCE_EXPRESSION:
      {
        XReferenceExpression xReferenceExpression = (XReferenceExpression)theEObject;
        T result = caseXReferenceExpression(xReferenceExpression);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      case LanguagedefPackage.TOOL_GROUP:
      {
        ToolGroup toolGroup = (ToolGroup)theEObject;
        T result = caseToolGroup(toolGroup);
        if (result == null) result = caseToolItem(toolGroup);
        if (result == null) result = caseModuleItem(toolGroup);
        if (result == null) result = defaultCase(theEObject);
        return result;
      }
      default: return defaultCase(theEObject);
    }
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Module</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Module</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseModule(Module object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Library</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Library</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseLibrary(Library object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Module Item</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Module Item</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseModuleItem(ModuleItem object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Namespace</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Namespace</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseNamespace(Namespace object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Language Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Language Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseLanguageDef(LanguageDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Parent Languages</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Parent Languages</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseParentLanguages(ParentLanguages object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Import Statement</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Import Statement</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseImportStatement(ImportStatement object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Tool Box</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Tool Box</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseToolBox(ToolBox object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Tool Item</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Tool Item</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseToolItem(ToolItem object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Tool View</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Tool View</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseToolView(ToolView object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Tag Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Tag Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseTagDef(TagDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Tag Entry Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Tag Entry Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseTagEntryDef(TagEntryDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Element Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Element Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseElementDef(ElementDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Entity Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Entity Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseEntityDef(EntityDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Relation Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Relation Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseRelationDef(RelationDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Policies</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Policies</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T casePolicies(Policies object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>View Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>View Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseViewDef(ViewDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Node View Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Node View Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseNodeViewDef(NodeViewDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Label View Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Label View Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseLabelViewDef(LabelViewDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Label Source Field</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Label Source Field</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseLabelSourceField(LabelSourceField object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Compartment View Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Compartment View Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseCompartmentViewDef(CompartmentViewDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Relation View Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Relation View Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseRelationViewDef(RelationViewDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Relation Constraint</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Relation Constraint</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseRelationConstraint(RelationConstraint object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Connection Style Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Connection Style Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseConnectionStyleDef(ConnectionStyleDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Connection Decorator</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Connection Decorator</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseConnectionDecorator(ConnectionDecorator object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Decorator Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Decorator Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDecoratorDef(DecoratorDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Decorator Locator Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Decorator Locator Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseDecoratorLocatorDef(DecoratorLocatorDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Policy Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Policy Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T casePolicyDef(PolicyDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Sub View Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Sub View Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSubViewDef(SubViewDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Figure Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Figure Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseFigureDef(FigureDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Sub Figure</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Sub Figure</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseSubFigure(SubFigure object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Parameter</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Parameter</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseParameter(Parameter object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Color Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Color Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseColorDef(ColorDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Validator Def</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Validator Def</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseValidatorDef(ValidatorDef object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Anchor</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Anchor</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseAnchor(Anchor object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>XRectangle</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>XRectangle</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseXRectangle(XRectangle object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>XReference Expression</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>XReference Expression</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseXReferenceExpression(XReferenceExpression object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>Tool Group</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>Tool Group</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
   * @generated
   */
  public T caseToolGroup(ToolGroup object)
  {
    return null;
  }

  /**
   * Returns the result of interpreting the object as an instance of '<em>EObject</em>'.
   * <!-- begin-user-doc -->
   * This implementation returns null;
   * returning a non-null result will terminate the switch, but this is the last case anyway.
   * <!-- end-user-doc -->
   * @param object the target of the switch.
   * @return the result of interpreting the object as an instance of '<em>EObject</em>'.
   * @see #doSwitch(org.eclipse.emf.ecore.EObject)
   * @generated
   */
  @Override
  public T defaultCase(EObject object)
  {
    return null;
  }

} //LanguagedefSwitch
